﻿<ResourceDictionary 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero" mc:Ignorable="d">
    
    <!--
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
-->

    <!-- Button Styles -->
    <Style x:Key="Button" TargetType="{x:Type Button}">
        <Setter Property="Background">
            <Setter.Value>
                <RadialGradientBrush>
                	<GradientStop Offset="0" Color="Black" />
                	<GradientStop Offset="1" Color="Black" />
                </RadialGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="Height" Value="40" />
        <Setter Property="Foreground" Value="white" />
        <Setter Property="Grid.Row" Value="2" />
        <Setter Property="Grid.Column" Value="3" />
         <Setter Property="Margin" Value="3" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="Timeline1">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
									<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0.8"/>
									<SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="1"/>
								</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid x:Name="grid" RenderTransformOrigin="0.5,0.5">
						<Grid.RowDefinitions>
							<RowDefinition Height="0.525*"/>
							<RowDefinition Height="0.475*"/>
						</Grid.RowDefinitions>
						<Grid.RenderTransform>
							<TransformGroup>
								<ScaleTransform ScaleX="1" ScaleY="1"/>
								<SkewTransform AngleX="0" AngleY="0"/>
								<RotateTransform Angle="0"/>
								<TranslateTransform X="0" Y="0"/>
							</TransformGroup>
						</Grid.RenderTransform>
						<Rectangle x:Name="GelBackground" Opacity="1" RadiusX="9" RadiusY="9" StrokeThickness="0.35" Grid.RowSpan="2" Fill="Black">
							<Rectangle.Stroke>
								<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
									<GradientStop Offset="0" Color="White" />
									<GradientStop Offset="1" Color="#666666" />
								</LinearGradientBrush>
							</Rectangle.Stroke>
						</Rectangle>
						<Rectangle x:Name="GelShine" Margin="2" VerticalAlignment="Stretch" RadiusX="6" RadiusY="6" Opacity="1" Stroke="Transparent" Height="Auto">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
									<GradientStop Offset="0" Color="#ccffffff" />
									<GradientStop Offset="1" Color="Transparent" />
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>

						<ContentPresenter x:Name="GelButtonContent" VerticalAlignment="Center" HorizontalAlignment="Center" Content="{TemplateBinding Content}" Grid.RowSpan="2" />
					</Grid>

					<ControlTemplate.Triggers>

                		<Trigger Property="IsMouseOver" Value="true">
                			<Trigger.EnterActions>
                				<BeginStoryboard Storyboard="{StaticResource Timeline1}"/>
                			</Trigger.EnterActions>
                			<Setter TargetName="GelBackground" Property="Fill">
                				<Setter.Value>
                					<RadialGradientBrush>
                						<GradientStop Offset="0.005" Color="#FF00DDFF" />
                						<GradientStop Offset="1" Color="#FF1B0064" />
                					</RadialGradientBrush>
                				</Setter.Value>
                			</Setter>
                		</Trigger>
						
						<Trigger Property="IsDefault" Value="true">
                			<Setter TargetName="GelBackground" Property="Fill">
                				<Setter.Value>
                					<RadialGradientBrush>
                						<GradientStop Offset="0.005" Color="#FF00DDFF" />
                						<GradientStop Offset="1" Color="#FF1B0064" />
                					</RadialGradientBrush>
                				</Setter.Value>
                			</Setter>
                		</Trigger>
						
						
						
                		<Trigger Property="IsPressed" Value="true">
                			<Setter Property="Fill" TargetName="GelBackground">
                				<Setter.Value>
                					<RadialGradientBrush>
                						<GradientStop Offset="0" Color="#ffcc00" />
                						<GradientStop Offset="1" Color="#cc9900" />
                					</RadialGradientBrush>
                				</Setter.Value>
                			</Setter>
                		</Trigger>
                	</ControlTemplate.Triggers>
				</ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
    		<Trigger Property="IsMouseOver" Value="true">
    			<Setter Property="Foreground" Value="black " />
    		</Trigger>
    		<Trigger Property="IsPressed" Value="true">
    			<Setter Property="Foreground" Value="black " />
    		</Trigger>
    		<Trigger Property="IsDefault" Value="False"/>
    	</Style.Triggers>
    </Style>
				<Style x:Key="DisabledButton" TargetType="{x:Type Button}">
				<Setter Property="Background">
					<Setter.Value>
						<RadialGradientBrush>
							<GradientStop Offset="0" Color="Black" />
							<GradientStop Offset="1" Color="Black" />
						</RadialGradientBrush>
					</Setter.Value>
				</Setter>
				<Setter Property="Height" Value="40" />
				<Setter Property="Foreground" Value="white" />
				<Setter Property="Grid.Row" Value="2" />
				<Setter Property="Grid.Column" Value="3" />
				<Setter Property="Margin" Value="3" />
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="{x:Type Button}">
							<ControlTemplate.Resources>
								<Storyboard x:Key="Timeline1">
									<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
										<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0.8"/>
										<SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="1"/>
									</DoubleAnimationUsingKeyFrames>
								</Storyboard>
							</ControlTemplate.Resources>
							<Grid x:Name="grid" RenderTransformOrigin="0.5,0.5">
								<Grid.RowDefinitions>
									<RowDefinition Height="0.525*"/>
									<RowDefinition Height="0.475*"/>
								</Grid.RowDefinitions>
								<Grid.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="0"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Grid.RenderTransform>
								<Rectangle x:Name="GelBackground" Opacity="1" RadiusX="9" RadiusY="9" StrokeThickness="0.35" Grid.RowSpan="2" Fill="Black">
									<Rectangle.Stroke>
										<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
											<GradientStop Offset="0" Color="White" />
											<GradientStop Offset="1" Color="#666666" />
										</LinearGradientBrush>
									</Rectangle.Stroke>
								</Rectangle>
								<Rectangle x:Name="GelShine" Margin="2" VerticalAlignment="Stretch" RadiusX="6" RadiusY="6" Opacity="1" Stroke="Transparent" Height="Auto">
									<Rectangle.Fill>
										<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
											<GradientStop Offset="0" Color="#ccffffff" />
											<GradientStop Offset="1" Color="Transparent" />
										</LinearGradientBrush>
									</Rectangle.Fill>
								</Rectangle>

								<ContentPresenter x:Name="GelButtonContent" VerticalAlignment="Center" HorizontalAlignment="Center" Content="{TemplateBinding Content}" Grid.RowSpan="2" />
							</Grid>

							<ControlTemplate.Triggers>

								<Trigger Property="IsMouseOver" Value="true">
									<Trigger.EnterActions>
										<BeginStoryboard Storyboard="{StaticResource Timeline1}"/>
									</Trigger.EnterActions>
									<Setter TargetName="GelBackground" Property="Fill">
										<Setter.Value>
											<RadialGradientBrush>
												<GradientStop Offset="0.005" Color="#FF00DDFF" />
												<GradientStop Offset="1" Color="#FF1B0064" />
											</RadialGradientBrush>
										</Setter.Value>
									</Setter>
								</Trigger>
						
								<Trigger Property="IsEnabled" Value="false">
									<Setter TargetName="GelBackground" Property="Fill">
										<Setter.Value>
											<RadialGradientBrush>
												<GradientStop Offset="0.005" Color="#FF818787" />
												<GradientStop Offset="1" Color="#FF574F6A" />
											</RadialGradientBrush>
										</Setter.Value>
									</Setter>
								</Trigger>
						
						
						
								<Trigger Property="IsPressed" Value="true">
									<Setter Property="Fill" TargetName="GelBackground">
										<Setter.Value>
											<RadialGradientBrush>
												<GradientStop Offset="0" Color="#ffcc00" />
												<GradientStop Offset="1" Color="#cc9900" />
											</RadialGradientBrush>
										</Setter.Value>
									</Setter>
								</Trigger>
							</ControlTemplate.Triggers>
						</ControlTemplate>
					</Setter.Value>
				</Setter>
				<Style.Triggers>
					<Trigger Property="IsMouseOver" Value="true">
						<Setter Property="Foreground" Value="black " />
					</Trigger>
					<Trigger Property="IsPressed" Value="true">
						<Setter Property="Foreground" Value="black " />
					</Trigger>
					<Trigger Property="IsDefault" Value="False"/>
				</Style.Triggers>
			</Style>

    <Style x:Key="BlueButton" TargetType="{x:Type Button}">
    	<Setter Property="Background"><Setter.Value><RadialGradientBrush><GradientStop Offset="0" Color="Black" /><GradientStop Offset="1" Color="Black" /></RadialGradientBrush></Setter.Value></Setter>
    	<Setter Property="Height" Value="40" />
    	<Setter Property="Foreground" Value="white" />
    	<Setter Property="Grid.Row" Value="2" />
    	<Setter Property="Grid.Column" Value="3" />
    	<Setter Property="Content" Value="Forgot your password?" />
    	<Setter Property="Margin" Value="3" />
    	<Setter Property="Template">
    		<Setter.Value>
    			<ControlTemplate TargetType="{x:Type Button}">
    				<ControlTemplate.Resources>
    					<Storyboard x:Key="Storyboard1">
    						<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="GelBackground">
    							<EasingColorKeyFrame KeyTime="0" Value="#FFB18C8C"/>
    						</ColorAnimationUsingKeyFrames>
    						<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="GelBackground">
    							<EasingDoubleKeyFrame KeyTime="0" Value="0.55"/>
    						</DoubleAnimationUsingKeyFrames>
    					</Storyboard>
    					<Storyboard x:Key="OnMouse">
    						<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="grid">
    							<EasingDoubleKeyFrame KeyTime="0" Value="1">
    								<EasingDoubleKeyFrame.EasingFunction>
    									<CircleEase EasingMode="EaseOut"/>
    								</EasingDoubleKeyFrame.EasingFunction>
    							</EasingDoubleKeyFrame>
    							<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0.75">
    								<EasingDoubleKeyFrame.EasingFunction>
    									<CircleEase EasingMode="EaseOut"/>
    								</EasingDoubleKeyFrame.EasingFunction>
    							</EasingDoubleKeyFrame>
    							<EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="1">
    								<EasingDoubleKeyFrame.EasingFunction>
    									<CircleEase EasingMode="EaseOut"/>
    								</EasingDoubleKeyFrame.EasingFunction>
    							</EasingDoubleKeyFrame>
    						</DoubleAnimationUsingKeyFrames>
    					</Storyboard>
    				</ControlTemplate.Resources>
    				<Grid x:Name="grid" d:DesignWidth="125" RenderTransformOrigin="0.5,0.5">
    					<Grid.RenderTransform>
    						<TransformGroup>
    							<ScaleTransform/>
    							<SkewTransform/>
    							<RotateTransform/>
    							<TranslateTransform/>
    						</TransformGroup>
    					</Grid.RenderTransform>
    					<Grid.RowDefinitions>
    						<RowDefinition Height="0.467*"/>
    						<RowDefinition Height="0.216*"/>
    						<RowDefinition Height="0.317*"/>
    					</Grid.RowDefinitions>
    					<Grid.ColumnDefinitions>
    						<ColumnDefinition Width="*"/>
    					</Grid.ColumnDefinitions>
                
    					<Rectangle x:Name="GelBackground" Opacity="1" RadiusX="9" RadiusY="9" StrokeThickness="0.35" Grid.ColumnSpan="1" Fill="Black" Grid.RowSpan="3"><Rectangle.Stroke><LinearGradientBrush StartPoint="0,0" EndPoint="0,1"><GradientStop Offset="0" Color="White" /><GradientStop Offset="1" Color="#666666" /></LinearGradientBrush></Rectangle.Stroke></Rectangle>
    					<Rectangle x:Name="GelShine" Margin="2,2,2,-3" VerticalAlignment="Stretch" RadiusX="6" RadiusY="6" Opacity="1" Stroke="Transparent" Height="Auto" Grid.ColumnSpan="1" d:LayoutOverrides="GridBox"><Rectangle.Fill><LinearGradientBrush StartPoint="0,0" EndPoint="0,1"><GradientStop Offset="0" Color="#ccffffff" /><GradientStop Offset="1" Color="Transparent" /></LinearGradientBrush></Rectangle.Fill></Rectangle>
    					<ContentPresenter x:Name="GelButtonContent" VerticalAlignment="Center" HorizontalAlignment="Center" Content="{TemplateBinding Content}" Grid.ColumnSpan="1" Grid.Column="1" Grid.Row="0" d:LayoutOverrides="GridBox" Height="Auto" Margin="0" Grid.RowSpan="3" />
                
    				</Grid>

    				<ControlTemplate.Triggers>

    					<Trigger Property="IsMouseOver" Value="true">
    						<Trigger.EnterActions>
    							<BeginStoryboard x:Name="OnMouse_BeginStoryboard" Storyboard="{StaticResource OnMouse}"/>
    						</Trigger.EnterActions>
    						
    						<Setter Property="Fill" TargetName="GelBackground"><Setter.Value><RadialGradientBrush><GradientStop Offset="0" Color="Lime" /><GradientStop Offset="1" Color="DarkGreen" /></RadialGradientBrush></Setter.Value></Setter>
    					</Trigger>
    					<Trigger Property="IsDefault" Value="true">
    						<Setter TargetName="GelBackground" Property="Fill">
                				<Setter.Value>
                					<RadialGradientBrush>
                						<GradientStop Offset="0.005" Color="#FF00DDFF" />
                						<GradientStop Offset="1" Color="#FF1B0064" />
                					</RadialGradientBrush>
                				</Setter.Value>
                			</Setter>
    					</Trigger>
						
    					<Trigger Property="IsEnabled" Value="False">
    						<Trigger.ExitActions>
    							<RemoveStoryboard BeginStoryboardName="Storyboard1_BeginStoryboard"/>
    						</Trigger.ExitActions>
    						<Trigger.EnterActions>
    							<BeginStoryboard x:Name="Storyboard1_BeginStoryboard" Storyboard="{StaticResource Storyboard1}"/>
    						</Trigger.EnterActions>
    					</Trigger>
    					<Trigger Property="IsPressed" Value="true">
    						<Setter Property="Fill" TargetName="GelBackground"><Setter.Value><RadialGradientBrush><GradientStop Offset="0" Color="Lime" /><GradientStop Offset="1" Color="DarkGreen" /></RadialGradientBrush></Setter.Value></Setter>
    					</Trigger>
    				</ControlTemplate.Triggers>
    			</ControlTemplate>
    		</Setter.Value>
    	</Setter>
    	<Style.Triggers>
    		<Trigger Property="IsMouseOver" Value="true">
    			<Setter Property="Foreground" Value="black " />
    		</Trigger>
    		<Trigger Property="IsPressed" Value="true">
    			<Setter Property="Foreground" Value="black " />
    		</Trigger>
    	</Style.Triggers>
    </Style>
	<Style x:Key="RedButton" TargetType="{x:Type Button}">
		<Setter Property="Background">
			<Setter.Value>
				<RadialGradientBrush>
					<GradientStop Offset="0" Color="Black" />
					<GradientStop Offset="1" Color="Black" />
				</RadialGradientBrush>
			</Setter.Value>
		</Setter>
		<Setter Property="Height" Value="40" />
		<Setter Property="Foreground" Value="white" />
		<Setter Property="Grid.Row" Value="2" />
		<Setter Property="Grid.Column" Value="3" />
		<Setter Property="Margin" Value="3" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="Timeline1">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0.8"/>
								<SplineDoubleKeyFrame KeyTime="0:0:0.4" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid x:Name="grid" RenderTransformOrigin="0.5,0.5">
						<Grid.RenderTransform>
							<TransformGroup>
								<ScaleTransform ScaleX="1" ScaleY="1"/>
								<SkewTransform AngleX="0" AngleY="0"/>
								<RotateTransform Angle="0"/>
								<TranslateTransform X="0" Y="0"/>
							</TransformGroup>
						</Grid.RenderTransform>
						<VisualStateManager.VisualStateGroups>
							<VisualStateGroup x:Name="CommonStates">
								<VisualState x:Name="Normal"/>
								<VisualState x:Name="MouseOver"/>
								<VisualState x:Name="Pressed"/>
								<VisualState x:Name="Disabled"/>
							</VisualStateGroup>
						</VisualStateManager.VisualStateGroups>
						<Rectangle x:Name="GelBackground" Opacity="1" RadiusX="9" RadiusY="9" Fill="{TemplateBinding Background}" StrokeThickness="0.35">
							<Rectangle.Stroke>
								<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
									<GradientStop Offset="0" Color="White" />
									<GradientStop Offset="1" Color="#666666" />
								</LinearGradientBrush>
							</Rectangle.Stroke>
						</Rectangle>
						<Rectangle x:Name="GelShine" Margin="2,2,2,0" VerticalAlignment="Top" RadiusX="6" RadiusY="6" Opacity="1" Stroke="Transparent" Height="15px">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
									<GradientStop Offset="0" Color="#ccffffff" />
									<GradientStop Offset="1" Color="Transparent" />
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>

						<ContentPresenter x:Name="GelButtonContent" VerticalAlignment="Center" HorizontalAlignment="Center" Content="{TemplateBinding Content}" />
					</Grid>

					<ControlTemplate.Triggers>

						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource Timeline1}"/>
							</Trigger.EnterActions>
							<Setter TargetName="GelBackground" Property="Fill">
								<Setter.Value>
									<RadialGradientBrush>
										<GradientStop Offset="0.005" Color="#FF00DDFF" />
										<GradientStop Offset="1" Color="#FF1B0064" />
									</RadialGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="IsPressed" Value="true">
							<Setter Property="Fill" TargetName="GelBackground">
								<Setter.Value>
									<RadialGradientBrush>
										<GradientStop Offset="0" Color="#ffcc00" />
										<GradientStop Offset="1" Color="#cc9900" />
									</RadialGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Style.Triggers>
			<Trigger Property="IsMouseOver" Value="true">
				<Setter Property="Foreground" Value="black " />
			</Trigger>
			<Trigger Property="IsPressed" Value="true">
				<Setter Property="Foreground" Value="black " />
			</Trigger>
		</Style.Triggers>
	</Style>

    <!-- ForwardButton -->
    
    <Style x:Key="ForwardButton" BasedOn="{StaticResource Button}" TargetType="{x:Type Button}">
        <Setter Property="Grid.Row" Value="2" />
        <Setter Property="Grid.Column" Value="3" />
        <Setter Property="Content" Value="&gt;&gt;" />
        <Setter Property="VerticalAlignment" Value="center" />
    </Style>

<!-- BackButton -->
    
    <Style x:Key="BackButton" BasedOn="{StaticResource Button}" TargetType="{x:Type Button}">
        <Setter Property="Grid.Row" Value="2" />
        <Setter Property="Grid.Column" Value="3" />
        <Setter Property="Content" Value="&lt;&lt;" />
        <Setter Property="VerticalAlignment" Value="center" />
    </Style>

    <!-- PlayButton -->
    
    <Style x:Key="RoundButton" BasedOn="{StaticResource Button}" TargetType="{x:Type Button}">
        <Setter Property="Width" Value="100" />
        <Setter Property="Height" Value="100" />
        <Setter Property="Grid.Row" Value="2" />
        <Setter Property="Content" Value="Logon" />
        <Setter Property="LayoutTransform">
            <Setter.Value>
                <TranslateTransform X="70" Y="-10" />
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Grid>
                    	<Grid.RowDefinitions>
                    		<RowDefinition Height="0.077*"/>
                    		<RowDefinition Height="0.41*"/>
                    		<RowDefinition Height="0.13*"/>
                    		<RowDefinition Height="0.382*"/>
                    	</Grid.RowDefinitions>
                    	<Grid.ColumnDefinitions>
                    		<ColumnDefinition Width="0.122*"/>
                    		<ColumnDefinition Width="0.754*"/>
                    		<ColumnDefinition Width="0.124*"/>
                    	</Grid.ColumnDefinitions>
						<Ellipse x:Name="GelBackground" StrokeThickness="0.5" Grid.ColumnSpan="3" Grid.RowSpan="4">
							<Ellipse.Stroke>
								<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
									<GradientStop Offset="0" Color="#FF7E7E7E" />
									<GradientStop Offset="1" Color="Black" />
								</LinearGradientBrush>
							</Ellipse.Stroke>
							<Ellipse.Fill>
								<RadialGradientBrush>
									<GradientStop Offset="0" Color="Black" />
									<GradientStop Offset="1" Color="Black" />
								</RadialGradientBrush>
							</Ellipse.Fill>
						</Ellipse>
						<Ellipse  Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" Width="Auto" Height="Auto" Margin="0" VerticalAlignment="Stretch">
							<Ellipse.Fill>
								<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
									<GradientStop Offset="0" Color="#aaffffff" />
									<GradientStop Offset="1" Color="Transparent" />
								</LinearGradientBrush>
							</Ellipse.Fill>
						</Ellipse>
						<ContentPresenter x:Name="GelButtonContent" VerticalAlignment="Center" HorizontalAlignment="Center" Content="{TemplateBinding Content}" Height="Auto" Grid.Column="1" Grid.Row="0" Margin="0" d:LayoutOverrides="Height" Panel.ZIndex="1" Grid.RowSpan="4"  />
					</Grid>
                    <ControlTemplate.Triggers>

                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter Property="Fill" TargetName="GelBackground">
                                <Setter.Value>
                                    <RadialGradientBrush>
                                    	<GradientStop Offset="0" Color="#FF00C7FF" />
                                    	<GradientStop Offset="1" Color="#FF000464" />
                                    </RadialGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="IsPressed" Value="true">
                            <Setter Property="Fill" TargetName="GelBackground">
                                <Setter.Value>
                                    <RadialGradientBrush>
                                    	<GradientStop Offset="0" Color="#ffcc00" />
                                    	<GradientStop Offset="1" Color="#cc9900" />
                                    </RadialGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="true">
                <Setter Property="Foreground" Value="black " />
            </Trigger>
            <Trigger Property="IsPressed" Value="true">
                <Setter Property="Foreground" Value="black " />
            </Trigger>
        </Style.Triggers>
    </Style>
    <Style x:Key="WindowStyle2" TargetType="{x:Type Window}">
    	<Setter Property="Foreground" Value="Black"/>
    	<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"/>
    	<Setter Property="Template">
    		<Setter.Value>
    			<ControlTemplate TargetType="{x:Type Window}">
    				<ControlTemplate.Resources>
    					<Storyboard x:Key="OnMouseDown1"/>
    				</ControlTemplate.Resources>
    				<Grid Width="450" Height="150">
    					<Rectangle Margin="0,0,0,0" Stroke="#FF000000" RadiusX="31.7" RadiusY="24.7">
    						<Rectangle.Fill>
    							<LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
    								<GradientStop Color="#FF505052" Offset="1"/>
    								<GradientStop Color="#FF038BB8" Offset="0.211"/>
    								<GradientStop Color="#FF6A6A6A" Offset="0"/>
    								<GradientStop Color="#FF0C276A" Offset="0.569"/>
    							</LinearGradientBrush>
    						</Rectangle.Fill>
    						<Rectangle.OpacityMask>
    							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    								<GradientStop Color="#AAFFFFFF" Offset="1"/>
    								<GradientStop Color="#FF000000" Offset="0.198"/>
    								<GradientStop Color="#AAFFFFFF" Offset="0"/>
    								<GradientStop Color="#FF000000" Offset="0.806"/>
    							</LinearGradientBrush>
    						</Rectangle.OpacityMask>
    					</Rectangle>
    					<ContentPresenter Margin="0,31,0,32" RenderTransformOrigin="0.5,0.5">
    						<ContentPresenter.RenderTransform>
    							<TransformGroup>
    								<ScaleTransform ScaleX="1" ScaleY="1"/>
    								<SkewTransform AngleX="0" AngleY="0"/>
    								<RotateTransform Angle="0"/>
    								<TranslateTransform X="0" Y="0"/>
    							</TransformGroup>
    						</ContentPresenter.RenderTransform>
    					</ContentPresenter>
    				</Grid>
    				<ControlTemplate.Triggers>
    					<EventTrigger RoutedEvent="FrameworkElement.Loaded"/>
    				</ControlTemplate.Triggers>
    			</ControlTemplate>
    		</Setter.Value>
    	</Setter>
    	<Setter Property="WindowStyle" Value="None"/>
    	<Setter Property="AllowsTransparency" Value="True"/>
    	<Style.Triggers>
    		<Trigger Property="ResizeMode" Value="CanResizeWithGrip">
    			<Setter Property="Template" Value="{StaticResource WindowTemplateKey}"/>
    		</Trigger>
    	</Style.Triggers>
    </Style>
	<ControlTemplate x:Key="WindowTemplateKey" TargetType="{x:Type Window}">
		<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
				<Grid Width="319" Height="255">
					<Ellipse Margin="0,0,0,0" VerticalAlignment="Stretch" Height="Auto" Fill="#FFFFFFFF" Stroke="#FF000000"/>
					<AdornerDecorator HorizontalAlignment="Left" Margin="50,37,9,37" Width="222">
						<ContentPresenter Width="Auto" Height="Auto"/>
					</AdornerDecorator>
					<ResizeGrip Visibility="Collapsed" IsTabStop="false" HorizontalAlignment="Right" x:Name="WindowResizeGrip" VerticalAlignment="Bottom" Grid.Row="1" Grid.Column="1"/>
				</Grid>
			</Border>
		<ControlTemplate.Triggers>
			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="ResizeMode" Value="CanResizeWithGrip"/>
					<Condition Property="WindowState" Value="Normal"/>
				</MultiTrigger.Conditions>
				<Setter Property="Visibility" TargetName="WindowResizeGrip" Value="Visible"/>
			</MultiTrigger>
		</ControlTemplate.Triggers>
	</ControlTemplate>

    <!-- WindowStyle1-->
    
	<Style x:Key="WindowStyle1" TargetType="{x:Type Window}">
		<Setter Property="Foreground" Value="Black"/>
		<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Window}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="OnMouseDown1"/>
					</ControlTemplate.Resources>
					<Grid Width="Auto" Height="Auto" d:DesignWidth="374" d:DesignHeight="269.96">
						<Rectangle Margin="10" Stroke="#FF000000" RadiusX="0" RadiusY="0" OpacityMask="{x:Null}">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
									<GradientStop Color="#FF505052" Offset="1"/>
									<GradientStop Color="#FF038BB8" Offset="0.211"/>
									<GradientStop Color="#FF6A6A6A" Offset="0"/>
									<GradientStop Color="#FF0C276A" Offset="0.569"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<ContentPresenter Margin="0,31,0,32" RenderTransformOrigin="0.5,0.5">
							<ContentPresenter.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="0"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</ContentPresenter.RenderTransform>
						</ContentPresenter>
						<Rectangle HorizontalAlignment="Stretch" Height="Auto" Margin="0" RadiusY="0" RadiusX="0" VerticalAlignment="Stretch" Width="Auto" StrokeThickness="10" Stroke="#FF4FA2B2" Opacity="0.87">
							<Rectangle.Effect>
								<BlurEffect/>
							</Rectangle.Effect>
						</Rectangle>
					</Grid>
					<ControlTemplate.Triggers>
						<EventTrigger RoutedEvent="FrameworkElement.Loaded"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="WindowStyle" Value="None"/>
		<Setter Property="AllowsTransparency" Value="True"/>
		<Style.Triggers>
			<Trigger Property="ResizeMode" Value="CanResizeWithGrip">
				<Setter Property="Template" Value="{StaticResource WindowTemplateKey}"/>
			</Trigger>
		</Style.Triggers>
	</Style>
	
	<Style x:Key="GreenButton" TargetType="{x:Type Button}">
        <Setter Property="Background"><Setter.Value><RadialGradientBrush><GradientStop Offset="0" Color="Black" /><GradientStop Offset="1" Color="Black" /></RadialGradientBrush></Setter.Value></Setter>
        <Setter Property="Height" Value="40" />
        <Setter Property="Foreground" Value="white" />
        <Setter Property="Grid.Row" Value="2" />
        <Setter Property="Grid.Column" Value="3" />
        <Setter Property="Content" Value="Forgot your password?" />
        <Setter Property="Margin" Value="3" />
        <Setter Property="Template">
        <Setter.Value>
        <ControlTemplate TargetType="{x:Type Button}">
        	<ControlTemplate.Resources>
        		<Storyboard x:Key="Storyboard1">
        			<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="GelBackground">
        				<EasingColorKeyFrame KeyTime="0" Value="#FFB18C8C"/>
        			</ColorAnimationUsingKeyFrames>
        			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="GelBackground">
        				<EasingDoubleKeyFrame KeyTime="0" Value="0.55"/>
        			</DoubleAnimationUsingKeyFrames>
        		</Storyboard>
        	</ControlTemplate.Resources>
            <Grid x:Name="grid">
            	<Grid.RowDefinitions>
            		<RowDefinition Height="0.467*"/>
            		<RowDefinition Height="0.216*"/>
            		<RowDefinition Height="0.317*"/>
            	</Grid.RowDefinitions>
            	<Grid.ColumnDefinitions>
            		<ColumnDefinition Width="*"/>
            	</Grid.ColumnDefinitions>
                
            	<Rectangle x:Name="GelBackground" Opacity="1" RadiusX="9" RadiusY="9" StrokeThickness="0.35" Grid.ColumnSpan="1" Fill="Black" Grid.RowSpan="3"><Rectangle.Stroke><LinearGradientBrush StartPoint="0,0" EndPoint="0,1"><GradientStop Offset="0" Color="White" /><GradientStop Offset="1" Color="#666666" /></LinearGradientBrush></Rectangle.Stroke></Rectangle>
            	<Rectangle x:Name="GelShine" Margin="2,2,2,-3" VerticalAlignment="Stretch" RadiusX="6" RadiusY="6" Opacity="1" Stroke="Transparent" Height="Auto" Grid.ColumnSpan="1" d:LayoutOverrides="GridBox"><Rectangle.Fill><LinearGradientBrush StartPoint="0,0" EndPoint="0,1"><GradientStop Offset="0" Color="#ccffffff" /><GradientStop Offset="1" Color="Transparent" /></LinearGradientBrush></Rectangle.Fill></Rectangle>
            	<ContentPresenter x:Name="GelButtonContent" VerticalAlignment="Center" HorizontalAlignment="Center" Content="{TemplateBinding Content}" Grid.ColumnSpan="1" Grid.Column="1" Grid.Row="0" d:LayoutOverrides="GridBox" Height="Auto" Margin="0" Grid.RowSpan="3" />
                
            </Grid>

        <ControlTemplate.Triggers>

        <Trigger Property="IsMouseOver" Value="true">
        <Setter Property="Fill" TargetName="GelBackground"><Setter.Value><RadialGradientBrush><GradientStop Offset="0" Color="Lime" /><GradientStop Offset="1" Color="DarkGreen" /></RadialGradientBrush></Setter.Value></Setter>
        </Trigger>
        <Trigger Property="IsEnabled" Value="False">
        	<Trigger.ExitActions>
        		<RemoveStoryboard BeginStoryboardName="Storyboard1_BeginStoryboard"/>
        	</Trigger.ExitActions>
        	<Trigger.EnterActions>
        		<BeginStoryboard x:Name="Storyboard1_BeginStoryboard" Storyboard="{StaticResource Storyboard1}"/>
        	</Trigger.EnterActions>
        </Trigger>
        <Trigger Property="IsPressed" Value="true">
        <Setter Property="Fill" TargetName="GelBackground"><Setter.Value><RadialGradientBrush><GradientStop Offset="0" Color="#ffcc00" /><GradientStop Offset="1" Color="#cc9900" /></RadialGradientBrush></Setter.Value></Setter>
        </Trigger>
        </ControlTemplate.Triggers>
        </ControlTemplate>
        </Setter.Value>
        </Setter>
        <Style.Triggers>
        <Trigger Property="IsMouseOver" Value="true">
        <Setter Property="Foreground" Value="black " />
        </Trigger>
        <Trigger Property="IsPressed" Value="true">
        <Setter Property="Foreground" Value="black " />
        </Trigger>
        </Style.Triggers>
    </Style>
	<Style x:Key="GreenButton2" TargetType="{x:Type Button}">
		<Setter Property="Background"><Setter.Value><RadialGradientBrush><GradientStop Offset="0" Color="Black" /><GradientStop Offset="1" Color="Black" /></RadialGradientBrush></Setter.Value></Setter>
		<Setter Property="Height" Value="40" />
		<Setter Property="Foreground" Value="white" />
		<Setter Property="Grid.Row" Value="2" />
		<Setter Property="Grid.Column" Value="3" />
		<Setter Property="Content" Value="Forgot your password?" />
		<Setter Property="Margin" Value="3" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="Storyboard1">
							<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="GelBackground">
								<EasingColorKeyFrame KeyTime="0" Value="#FFB18C8C"/>
							</ColorAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="GelBackground">
								<EasingDoubleKeyFrame KeyTime="0" Value="0.55"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid x:Name="grid">
						<Grid.RowDefinitions>
							<RowDefinition Height="0.467*"/>
							<RowDefinition Height="0.216*"/>
							<RowDefinition Height="0.317*"/>
						</Grid.RowDefinitions>
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="*"/>
						</Grid.ColumnDefinitions>
                
						<Rectangle x:Name="GelBackground" Opacity="1" RadiusX="9" RadiusY="9" StrokeThickness="0.35" Grid.ColumnSpan="1" Fill="Black" Grid.RowSpan="3"><Rectangle.Stroke><LinearGradientBrush StartPoint="0,0" EndPoint="0,1"><GradientStop Offset="0" Color="White" /><GradientStop Offset="1" Color="#666666" /></LinearGradientBrush></Rectangle.Stroke></Rectangle>
						<Rectangle x:Name="GelShine" Margin="2,2,2,-3" VerticalAlignment="Stretch" RadiusX="6" RadiusY="6" Opacity="1" Stroke="Transparent" Height="Auto" Grid.ColumnSpan="1" d:LayoutOverrides="GridBox"><Rectangle.Fill><LinearGradientBrush StartPoint="0,0" EndPoint="0,1"><GradientStop Offset="0" Color="#ccffffff" /><GradientStop Offset="1" Color="Transparent" /></LinearGradientBrush></Rectangle.Fill></Rectangle>
						<ContentPresenter x:Name="GelButtonContent" VerticalAlignment="Center" HorizontalAlignment="Center" Content="{TemplateBinding Content}" Grid.ColumnSpan="1" Grid.Column="1" Grid.Row="0" d:LayoutOverrides="GridBox" Height="Auto" Margin="0" Grid.RowSpan="3" />
                
					</Grid>

					<ControlTemplate.Triggers>

						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="GelBackground"><Setter.Value><RadialGradientBrush><GradientStop Offset="0" Color="Lime" /><GradientStop Offset="1" Color="DarkGreen" /></RadialGradientBrush></Setter.Value></Setter>
						</Trigger>
						<Trigger Property="IsDefault" Value="true">
						<Setter Property="Fill" TargetName="GelBackground"><Setter.Value><RadialGradientBrush><GradientStop Offset="0" Color="Lime" /><GradientStop Offset="1" Color="DarkGreen" /></RadialGradientBrush></Setter.Value></Setter>
						</Trigger>
						
						<Trigger Property="IsEnabled" Value="False">
							<Trigger.ExitActions>
								<RemoveStoryboard BeginStoryboardName="Storyboard1_BeginStoryboard"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="Storyboard1_BeginStoryboard" Storyboard="{StaticResource Storyboard1}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="true">
						<Setter Property="Fill" TargetName="GelBackground"><Setter.Value><RadialGradientBrush><GradientStop Offset="0" Color="Lime" /><GradientStop Offset="1" Color="DarkGreen" /></RadialGradientBrush></Setter.Value></Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Style.Triggers>
			<Trigger Property="IsMouseOver" Value="true">
				<Setter Property="Foreground" Value="black " />
			</Trigger>
			<Trigger Property="IsPressed" Value="true">
				<Setter Property="Foreground" Value="black " />
			</Trigger>
		</Style.Triggers>
	</Style>
	
</ResourceDictionary>